<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page session="false"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>供应商注册</title>
</head>
<body>
 <jsp:include page="../header.jsp" flush="true" />
 <div id="body">
    <H1>
        供应商注册
    </H1>
    <form:form action="register" commandName="providerDto" modelattribute="providerDto" method="post">
    <label for="nameInput"> 名称: </label>
    <form:input path="providerName" id="nameInput"></form:input>
    <form:errors path="providerName" cssclass="error"></form:errors>
    <br />
     
    <label for="addInput">地址: </label>
    <form:input path="providerAdd" id="addInput"></form:input>
    <form:errors path="providerAdd" cssclass="error"></form:errors>
    <br />
     
    <label for="telInput"> 手机号码: </label>
    <form:input path="providerTel" id="telInput"></form:input>
    <form:errors path="providerTel" cssclass="error"></form:errors>
    <br />
     
    <label for="emailInput">邮箱: </label>
    <form:input path="email" id="emailInput"></form:input>
    <form:errors path="email" cssclass="error"></form:errors>
    <br />
     
     <label for="accountInput">账号: </label>
    <form:input path="account" id="accountInput"></form:input>
    <form:errors path="account" cssclass="error"></form:errors>
    <br />
    
    <label for="passwordInput">密码: </label>
    <form:input path="password" id="passwordInput"></form:input>
    <form:errors path="password" cssclass="error"></form:errors>
    <br />
    
    <input type="submit" value="保存" /></input>
    </form:form>
    <br>
   
    </div>
</body>
</html>